<div id="preload-area" style="display:none;"></div>
<div class="layadmin-user-login layadmin-user-display-show" id="LAY-user-login">

    <div class="layadmin-user-login-main">
        <div class="layadmin-user-login-box layadmin-user-login-header login_header" style="border-top-left-radius: 10px;border-top-right-radius: 10px;">
            <h2>
                <p style="color:#fff"><?= WEB_NAME ?></p>
            </h2>
            <h3>
                <p style="color:#fff">【总管理后台】</p>
            </h3>
        </div>
        <form id="loginFrm">
            <div class="layadmin-user-login-box layadmin-user-login-body layui-form" style="background:#fff;border-bottom-left-radius: 10px;border-bottom-right-radius: 10px;">
                <div class="layui-form-item">
                    <label class="layadmin-user-login-icon layui-icon layui-icon-username" for="LAY-user-login-username"></label>
                    <input type="text" name="username" id="LAY-user-login-username" lay-verify="required" placeholder="用户名" class="layui-input">
                </div>
                <div class="layui-form-item">
                    <label class="layadmin-user-login-icon layui-icon layui-icon-password" for="LAY-user-login-password"></label>
                    <input type="password" name="password" id="LAY-user-login-password" lay-verify="required" placeholder="密码" class="layui-input">
                </div>
                <div class="layui-form-item">
                    <div class="layui-row">
                        <div class="layui-col-xs7">
                            <label class="layadmin-user-login-icon layui-icon layui-icon-vercode" for="LAY-user-login-vercode"></label>
                            <input type="text" name="vercode" id="LAY-user-login-vercode" lay-verify="required" placeholder="图形验证码" class="layui-input">
                        </div>
                        <div class="layui-col-xs5">
                            <div style="margin-left: 10px;">
                                <img src="<?= ADMIN_URL . "&c=login&m=captcha" ?>" class="layadmin-user-login-codeimg" id="captchaImg" onclick="return changeCapImg()">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <button class="layui-btn layui-btn-fluid customize" lay-submit lay-filter="LAY-user-login-submit">总 后 台 登 录</button>
                </div>
            </div>
        </form>
    </div>
    <div class="layui-trans layadmin-user-login-footer">
        <!--<p style="color:#fff">© <?= date("Y") ?> <?= WEB_DOMAIN ?></p>-->
    </div>
</div>

<script src="<?= PUBLIC_URL ?>/plugin/luadmin/layui/layui.js"></script>  
<script>
                                    layui.config({
                                        base: '<?= PUBLIC_URL ?>/plugin/luadmin/' //静态资源所在路径
                                    }).extend({
                                        index: 'lib/index' //主入口模块
                                    }).use(['index', 'user'], function () {
                                        var $ = layui.$
                                                , setter = layui.setter
                                                , admin = layui.admin
                                                , form = layui.form
                                                , router = layui.router()
                                                , search = router.search;
                                        form.render();
                                    });
</script>
<script>
    var captchaUrl = "<?= $this->projectUrl["captcha"] ?>";
    var ajaxLoginUrl = "<?= $this->projectUrl["ajaxLogin"] ?>";
</script>
<script src="<?= PUBLIC_URL ?>/admin/js/login/login.js"></script>

<script>
    const public_url = "<?= PUBLIC_URL ?>";
</script>
<script src="<?= PUBLIC_URL ?>/default/js/login.js"></script>
